<%= error_messages_for :user %>
<% form_tag session_path do -%>
  <h1>Login</h1>  
  <fieldset>
  	<p><label for="login">Login</label><br/>
	    <%= text_field_tag 'login' %></p>
	  <p><label for="password">Password</label><br/>
	    <%= password_field_tag 'password' %></p>
	  <p class="checkbox-input"><label for="remember_me">Remember me:</label>
	    <%= check_box_tag 'remember_me' %></p>
	  <p><%= submit_tag 'Sign in', {:class => 'htmlButton', :disable_with => "Signing in&hellip;"} %></p>
	  <p><%= link_to('Sign Up', signup_path, {:title => "Sign up for a new account.", :target => "_self"}) %></p>
  </fieldset>
	
  <h1>...or use:</h1>
  <fieldset>  
  <p><label id="openid_url_label" for="openid_url">OpenID:</label><br />
    <%= text_field_tag "openid_url", params[:openid_identifier]  %></p>
  <p><%= submit_tag 'Sign in', {:class => 'htmlButton', :disable_with => "Signing in&hellip;"} %></p>
  <h2>Need an OpenID?</h2>
  <a href="https://www.myopenid.com/affiliate_signup?affiliate_id=859">Get it Free!</a>
  </fieldset>
<% end -%>
